<?php

namespace KGK\StoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * KGK\StoreBundle\Entity\Categorie
 *
 * @ORM\Table(name="categorie")
 * @ORM\Entity
 */
class Categorie
{
    /**
     * @var integer $catId
     *
     * @ORM\Column(name="CAT_ID", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $catId;

    /**
     * @var text $catLibelle
     *
     * @ORM\Column(name="CAT_LIBELLE", type="text", nullable=true)
     */
    private $catLibelle;



    /**
     * Get catId
     *
     * @return integer 
     */
    public function getCatId()
    {
        return $this->catId;
    }

    /**
     * Set catLibelle
     *
     * @param text $catLibelle
     */
    public function setCatLibelle($catLibelle)
    {
        $this->catLibelle = $catLibelle;
    }

    /**
     * Get catLibelle
     *
     * @return text 
     */
    public function getCatLibelle()
    {
        return $this->catLibelle;
    }	
		
	public function __toString()
	{
		return $this->catLibelle;
	}
}